#ifndef HTF_CRYPTO_H
#define HTF_CRYPTO_H

#include <stdint.h>
#include <stddef.h>

int htf_crypto_decrypt(const uint8_t* in, size_t in_len,
                       const uint8_t* key, size_t key_len,
                       uint8_t** out, size_t* out_len);

void htf_crypto_sha256(const void* data, size_t len, uint8_t hash[32]);

#endif